www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\Label\custom_Label\列表式单篇文章系统标签库\nd_info_xcnt.asp

    <%'$start_ext_newDsoft 以下系统生成,勿删!
'$newDsoft_label_type$:asp_label$end_newDsoft_label_type$
'$newDsoft_label_name$:info_xcnt$end_newDsoft_label_name$
'$newDsoft_label_sql$: $end_newDsoft_label_sql$
'$newDsoft_label_params$:sys_content_type,频道栏目id,1|cid,指定列表式单篇文章中某篇文章的id,如果为空,则默认显示第一篇文章,想设置为空则请填all,1|width,显示宽度,3$end_newDsoft_label_params$
'$newDsoft_label_fenye_num$: $end_newDsoft_label_fenye_num$
'$newDsoft_label_beizhu$:显示某篇 列表式单篇文章 的文章详细内容$end_newDsoft_label_beizhu$
'$newDsoft_is_sys_label$:0$end_newDsoft_is_sys_label$
'$newDsoft_other_params$:htmledxa:1|htmledxb:$end_newDsoft_other_params$
'$end_ext_newDsoft%>
<%
ccciissd=lcase(cstr($xxvar$cid))

ssssaa=cstr($xxvar$sys_content_type)

if ccciissd="" or ccciissd="all" then
sql="select top 1 * from  [ND_danArticle_class] where sys_content_type='"&ssssaa&"' order by clng(orders) asc"
else


sql="select * from  [ND_danArticle_class] where id="&ccciissd

end if

set rs22aaa=server.CreateObject("adodb.recordset")
rs22aaa.open sql,newdsoft_conn_obj,1,1
if not rs22aaa.eof then 
%>
<div><style type="text/css">
<!--
.aasxxwndxx {width:$xxvar$width px}
--></style>{$$include_pagination}</div>
<table class="aasxxwndxx" border="0">
    <tbody>
        <tr>
            <td><%

ctntoxkk=rs22aaa("content")

call autoxpagexit(0,ctntoxkk)
%></td>
        </tr>
    </tbody>
</table>
<%

end if

%>